package com.zqwh.yj.sdk.model;

import android.content.ContentResolver;

/**
 * Created by eason.yang on 2017/8/21.
 */

public interface SmdtModel {
    int unlock(int io);
    int lock(int io);
    int getDoorStatus(int io);
    int setInternalGpioDirection(int io, int direction, int def);
    int getInternalGpioDirection(int io);
    int setInternalGpioValue(int io, int value);
    int getInternalGpioValue(int io);

    int setExternalGpioDirection(int io, int direction, int def);
    int getExternalGpioDirection(int io);
    int setExternalGpioValue(int io, int value);
    int getExternalGpioValue(int io);

    void setBrightness(ContentResolver resolver, int brightness);
    void setRotation(String rotationDegree);
    void setLcdBackLight(int value);
    void reboot();
    int watchDogEnable();
    int watchDogDisable();
    int watchDogFeed();
    void execSuCmd(String command);
    void rodControl(String status);
}
